#include<stdio.h>
#include<stdlib.h>

int global_uninit_var;
int global_init_var1=520;
int global_init_var2=880;

void func(void);
void func(void)
{
	;
}

int main(void)
{
	int local_var1;
	int local_var2;
	
	static int static_uninit_var;
	static int static_init_var;
	
	char *str1="I love FishC.com!";
	char *str2="You are right!";
	
	int *malloc_var=(int *)malloc(sizeof(int));
	
	printf("address of func -> %p\n");
	printf("address of str1 -> %p\n");
	printf("address of str2 -> %p\n");
	printf("address of global_init_var1 -> %p\n");
	printf("address of global_init_var2 -> %p\n");
	printf("address of static_init_var -> %p\n");
	printf("address of static_uninit_var -> %p\n");
	printf("address of global_uninit_var -> %p\n");
	printf("address of malloc_var -> %p\n");
	printf("address of local_var1 -> %p\n");
	printf("address of local_var2 -> %p\n");
		
	return 0;
}
